import {
    A_Public,
    M_Public,
    G_Public,
} from './type'

const state = {
    coopCompany: []
}
const actions = {
    [A_Public]({ commit }, data) {
        commit(M_Public, data)
    }
}
const mutations = {
    // 存储品牌信息
    [M_Public](state, data) {
        state.coopCompany = data
    }
};
const getters = {
    // 获取品牌信息
    [G_Public](state) {
        return state;
    },

};
export default {
    state,
    getters,
    actions,
    mutations
}